.class public Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field public a:Ljava/lang/String;

.field private b:Landroid/widget/ImageView;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/TextView;

.field private e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

.field private f:Lcom/waiqin365/lightapp/view/NoNetView;

.field private g:I

.field private h:Ljava/util/ArrayList;

.field private i:Lcom/waiqin365/lightapp/kehu/b/g;

.field private j:Landroid/os/Handler;

.field private k:Ljava/lang/String;

.field private l:Landroid/widget/LinearLayout;

.field private m:Landroid/widget/LinearLayout;

.field private n:Ljava/lang/String;

.field private o:Landroid/widget/PopupWindow;

.field private p:Landroid/view/View;

.field private q:Landroid/widget/EditText;

.field private r:Landroid/widget/TextView;

.field private s:Landroid/widget/ImageView;

.field private t:Landroid/widget/Button;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    const/4 v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->g:I

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->h:Ljava/util/ArrayList;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;)I
    .locals 2

    iget v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->g:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->g:I

    return v0
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;)V
    .locals 8

    const/4 v0, 0x0

    const-string/jumbo v1, ""

    new-instance v3, Ljava/lang/StringBuffer;

    invoke-direct {v3}, Ljava/lang/StringBuffer;-><init>()V

    :try_start_0
    new-instance v4, Lorg/json/JSONArray;

    invoke-direct {v4}, Lorg/json/JSONArray;-><init>()V

    move v2, v0

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->h:Ljava/util/ArrayList;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->h:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v2, v0, :cond_1

    new-instance v5, Lorg/json/JSONObject;

    invoke-direct {v5}, Lorg/json/JSONObject;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->h:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/f;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/kehu/b/f;->e:Z

    if-eqz v0, :cond_0

    const-string/jumbo v6, "id"

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->h:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/f;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/f;->a:Ljava/lang/String;

    invoke-virtual {v5, v6, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->h:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/f;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/f;->a:Ljava/lang/String;

    invoke-virtual {v3, v0}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v0

    const-string/jumbo v6, ","

    invoke-virtual {v0, v6}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string/jumbo v6, "type"

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->h:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/f;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/f;->d:Ljava/lang/String;

    invoke-virtual {v5, v6, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    invoke-virtual {v4, v5}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray;

    :cond_0
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_0

    :cond_1
    invoke-virtual {v4}, Lorg/json/JSONArray;->toString()Ljava/lang/String;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    :try_start_1
    invoke-virtual {v3}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->n:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->n:Ljava/lang/String;

    if-eqz v1, :cond_2

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->n:Ljava/lang/String;

    const-string/jumbo v2, ","

    invoke-virtual {v1, v2}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->n:Ljava/lang/String;

    const/4 v2, 0x0

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->n:Ljava/lang/String;

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    add-int/lit8 v3, v3, -0x1

    invoke-virtual {v1, v2, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->n:Ljava/lang/String;
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_1

    :cond_2
    :goto_1
    const-string/jumbo v1, ""

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->showProgressDialog(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->mContext:Landroid/content/Context;

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Ljava/util/HashMap;

    invoke-direct {v2}, Ljava/util/HashMap;-><init>()V

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->a:Ljava/lang/String;

    const-string/jumbo v3, "flag"

    invoke-virtual {v2, v3, p1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v3, "ids"

    invoke-virtual {v2, v3, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v0, "0"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    const-string/jumbo v0, "returnReason"

    invoke-virtual {v2, v0, p2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_3
    new-instance v0, Lcom/waiqin365/lightapp/kehu/a/a/a;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/kehu/a/a/a;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v1, Lcom/waiqin365/lightapp/kehu/a/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->j:Landroid/os/Handler;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/lightapp/kehu/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/kehu/a/c;)V

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/a/b;->start()V

    return-void

    :catch_0
    move-exception v0

    move-object v7, v0

    move-object v0, v1

    move-object v1, v7

    :goto_2
    invoke-virtual {v1}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_1

    :catch_1
    move-exception v1

    goto :goto_2
.end method

.method private b()V
    .locals 2

    const v0, 0x7f0c01da

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->b:Landroid/widget/ImageView;

    const v0, 0x7f0c0305

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->c:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->c:Landroid/widget/TextView;

    const v1, 0x7f0800b0

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0309

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->d:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->d:Landroid/widget/TextView;

    const v1, 0x7f080609

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->d:Landroid/widget/TextView;

    const-string/jumbo v1, "#1a1a1a"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    const v0, 0x7f0c0199

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    const v0, 0x7f0c00cb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->f:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->f:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/NoNetView;->b:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0198

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->l:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0197

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->m:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->d:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->b:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->l:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->m:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v0, Lcom/waiqin365/lightapp/kehu/b/g;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->h:Ljava/util/ArrayList;

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/kehu/b/g;-><init>(Landroid/content/Context;Ljava/util/ArrayList;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->i:Lcom/waiqin365/lightapp/kehu/b/g;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->i:Lcom/waiqin365/lightapp/kehu/b/g;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/b/g;->a(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->i:Lcom/waiqin365/lightapp/kehu/b/g;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setAdapter(Landroid/widget/BaseAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/ac;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/ac;-><init>(Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonHistoryListener(Lcom/waiqin365/lightapp/dailyreport/view/aa;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/ad;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/ad;-><init>(Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonRefreshListener(Lcom/waiqin365/lightapp/dailyreport/view/z;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/ae;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/ae;-><init>(Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->d()V

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    return-object v0
.end method

.method private c()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightapp/kehu/af;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/kehu/af;-><init>(Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->j:Landroid/os/Handler;

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->h:Ljava/util/ArrayList;

    return-object v0
.end method

.method private d()V
    .locals 5

    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->showProgressDialog(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->mContext:Landroid/content/Context;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v2, "currentPage"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget v4, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->g:I

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v2, "tradeType"

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->k:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v2, "recPerPage"

    const-string/jumbo v3, "10"

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v2, Lcom/waiqin365/lightapp/kehu/a/a/r;

    invoke-direct {v2, v0, v1}, Lcom/waiqin365/lightapp/kehu/a/a/r;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v0, Lcom/waiqin365/lightapp/kehu/a/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->j:Landroid/os/Handler;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/kehu/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/kehu/a/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/a/b;->start()V

    return-void
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;)Lcom/waiqin365/lightapp/kehu/b/g;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->i:Lcom/waiqin365/lightapp/kehu/b/g;

    return-object v0
.end method

.method private e()Z
    .locals 3

    const/4 v2, 0x0

    move v1, v2

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->h:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->h:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->h:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/f;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/kehu/b/f;->e:Z

    if-eqz v0, :cond_1

    const/4 v2, 0x1

    :cond_0
    return v2

    :cond_1
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->g:I

    return v0
.end method

.method private f()V
    .locals 5

    const/4 v4, 0x1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->mContext:Landroid/content/Context;

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f0301ae

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    const v0, 0x7f0c0084

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->r:Landroid/widget/TextView;

    const v0, 0x7f0c0920

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->q:Landroid/widget/EditText;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->r:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->mContext:Landroid/content/Context;

    const v3, 0x7f080042

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->q:Landroid/widget/EditText;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->mContext:Landroid/content/Context;

    const v3, 0x7f080321

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c091f

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->s:Landroid/widget/ImageView;

    const v0, 0x7f0c0921

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->t:Landroid/widget/Button;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->t:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->t:Landroid/widget/Button;

    const v2, 0x7f0805d3

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c091e

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->p:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->s:Landroid/widget/ImageView;

    new-instance v2, Lcom/waiqin365/lightapp/kehu/ag;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/kehu/ag;-><init>(Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;)V

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v0, Lcom/waiqin365/lightapp/kehu/ah;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/kehu/ah;-><init>(Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;)V

    invoke-virtual {v1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v0, Landroid/widget/PopupWindow;

    const/4 v2, -0x1

    const/4 v3, -0x2

    invoke-direct {v0, v1, v2, v3}, Landroid/widget/PopupWindow;-><init>(Landroid/view/View;II)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->o:Landroid/widget/PopupWindow;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->o:Landroid/widget/PopupWindow;

    const/16 v1, 0x10

    invoke-virtual {v0, v1}, Landroid/widget/PopupWindow;->setSoftInputMode(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->o:Landroid/widget/PopupWindow;

    invoke-virtual {v0, v4}, Landroid/widget/PopupWindow;->setInputMethodMode(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->o:Landroid/widget/PopupWindow;

    invoke-virtual {v0, v4}, Landroid/widget/PopupWindow;->setFocusable(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->o:Landroid/widget/PopupWindow;

    invoke-virtual {v0, v4}, Landroid/widget/PopupWindow;->setOutsideTouchable(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->o:Landroid/widget/PopupWindow;

    new-instance v1, Landroid/graphics/drawable/BitmapDrawable;

    invoke-direct {v1}, Landroid/graphics/drawable/BitmapDrawable;-><init>()V

    invoke-virtual {v0, v1}, Landroid/widget/PopupWindow;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    return-void
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;)Lcom/waiqin365/lightapp/view/NoNetView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->f:Lcom/waiqin365/lightapp/view/NoNetView;

    return-object v0
.end method

.method private g()V
    .locals 6

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->o:Landroid/widget/PopupWindow;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->o:Landroid/widget/PopupWindow;

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->p:Landroid/view/View;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->mContext:Landroid/content/Context;

    const v1, 0x7f040005

    invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v0

    new-instance v1, Landroid/os/Handler;

    invoke-direct {v1}, Landroid/os/Handler;-><init>()V

    new-instance v2, Lcom/waiqin365/lightapp/kehu/aj;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/kehu/aj;-><init>(Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;)V

    invoke-virtual {v0}, Landroid/view/animation/Animation;->getDuration()J

    move-result-wide v4

    invoke-virtual {v1, v2, v4, v5}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->p:Landroid/view/View;

    invoke-virtual {v1, v0}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->o:Landroid/widget/PopupWindow;

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->dismiss()V

    goto :goto_0
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->n:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;)Landroid/widget/EditText;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->q:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic j(Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->g()V

    return-void
.end method

.method static synthetic k(Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->p:Landroid/view/View;

    return-object v0
.end method

.method static synthetic l(Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;)Landroid/widget/PopupWindow;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->o:Landroid/widget/PopupWindow;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 8

    const/4 v3, 0x0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->o:Landroid/widget/PopupWindow;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->mContext:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    invoke-virtual {v0}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v0

    const/16 v2, 0x50

    invoke-virtual {v1, v0, v2, v3, v3}, Landroid/widget/PopupWindow;->showAtLocation(Landroid/view/View;III)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->p:Landroid/view/View;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->mContext:Landroid/content/Context;

    const v1, 0x7f040004

    invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v0

    new-instance v1, Landroid/os/Handler;

    invoke-direct {v1}, Landroid/os/Handler;-><init>()V

    new-instance v2, Lcom/waiqin365/lightapp/kehu/ai;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/kehu/ai;-><init>(Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;)V

    invoke-virtual {v0}, Landroid/view/animation/Animation;->getDuration()J

    move-result-wide v4

    const-wide/16 v6, 0x64

    add-long/2addr v4, v6

    invoke-virtual {v1, v2, v4, v5}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->p:Landroid/view/View;

    invoke-virtual {v1}, Landroid/view/View;->clearAnimation()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->p:Landroid/view/View;

    invoke-virtual {v1, v0}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    :cond_0
    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 3

    const v2, 0x7f08072c

    const/4 v0, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v1

    sparse-switch v1, :sswitch_data_0

    :cond_0
    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->back()V

    goto :goto_0

    :sswitch_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->h:Ljava/util/ArrayList;

    if-eqz v1, :cond_0

    move v1, v0

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->h:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->h:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/f;

    const/4 v2, 0x1

    iput-boolean v2, v0, Lcom/waiqin365/lightapp/kehu/b/f;->e:Z

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_1

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->i:Lcom/waiqin365/lightapp/kehu/b/g;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/b/g;->notifyDataSetChanged()V

    goto :goto_0

    :sswitch_2
    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->e()Z

    move-result v1

    if-nez v1, :cond_2

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {p0, v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0

    :cond_2
    const-string/jumbo v0, "1"

    const-string/jumbo v1, ""

    invoke-direct {p0, v0, v1}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :sswitch_3
    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->e()Z

    move-result v1

    if-nez v1, :cond_3

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {p0, v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0

    :cond_3
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->a()V

    goto :goto_0

    :sswitch_4
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->q:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_4

    const v1, 0x7f080321

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {p0, v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0

    :cond_4
    const-string/jumbo v0, "0"

    invoke-direct {p0, v0, v1}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :sswitch_5
    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->d()V

    goto :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c0197 -> :sswitch_3
        0x7f0c0198 -> :sswitch_2
        0x7f0c01da -> :sswitch_0
        0x7f0c0309 -> :sswitch_1
        0x7f0c0921 -> :sswitch_4
        0x7f0c0c3d -> :sswitch_5
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 2

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f030035

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->setContentView(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "tradeType"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->k:Ljava/lang/String;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->c()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->b()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->f()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->d()V

    return-void
.end method

.method protected onDestroy()V
    .locals 1

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMApprovalBundleActy;->o:Landroid/widget/PopupWindow;

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->dismiss()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onDestroy()V

    return-void

    :catch_0
    move-exception v0

    goto :goto_0
.end method
